package org.example.distributedlock.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author Administrator
 */
@Data
@TableName("stock_db")
public class StockDb {

    @TableId(type = IdType.AUTO)
    private int id;

    private String productCode;

    private String warehouse;

    private int count;

    private int version;
}
